package com.leemz.design.chapter7.pattern;

import com.leemz.design.chapter7.none.AmdCpu;
import com.leemz.design.chapter7.none.CpuApi;
import com.leemz.design.chapter7.none.MSIMainBoard;
import com.leemz.design.chapter7.none.MainBoardApi;

public class Schema2 implements AbstractFactory {
    @Override
    public CpuApi createCpuApi() {
        return new AmdCpu(939);
    }

    @Override
    public MainBoardApi createMainBoardApi() {
        return new MSIMainBoard(939);
    }
}
